<template>
    <h2>显示页面</h2>
    <p>手机号:{{route.query.phone}}</p>
    
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';

const route = useRoute();
console.log(route.query.phone);
</script>